package com.product.service;


import com.product.pojo.Product;

import java.util.List;

public interface ProductService {
    Product addProduct(Product product);
    Product updateProduct(Product product);
    void deleteProduct(String productId);
    Product getProductById(String productId);
    List<Product> listAllProducts();
    List<Product> listProductsByCategory(String categoryId);
    void onShelf(String productId);
    void offShelf(String productId);
}